<?php
namespace facade;

class AnimalMaker
{
    
    private $_chicken;
    private $_pig;

    public function __construct()
    {
        $this->_chicken = new Chicken();
        $this->_pig = new Pig();
    }

    public function produceChicken() 
    {
        return $this->_chicken->produce();
    }

    public function producePig() 
    {
        return $this->_pig->produce();
    }    

}